package com.yuzhi.master.drainWn.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.common.core.domain.BaseEntity;
import com.yuzhi.master.sewage.rmstSz.entity.request.LocalDateTimeSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 污水厂实时污泥数据表 drain_wn
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("drain_wn")
public class DrainWn extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 污水厂代码
     */
    private String factId;

    /**
     * 车牌号
     */
    private String cph;

    /**
     * 空车净重吨量
     */
    private BigDecimal kcw;

    /**
     * 满车吨量
     */
    private BigDecimal mcw;

    /**
     * 污泥吨量
     */
    private BigDecimal wnw;

    /**
     * 采集时间
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime wTime;

    /**
     * 过磅员
     */
    private String weigher;

    /**
     * 收货单位
     */
    private String receivingUnit;


    /**
     * 站点液位实时数据表 采集时间
     */
    @TableField(exist = false)
    private String cjDateStr;

}
